package com.tuyou.springboot.comon.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private long id;
    private String name;
    private short age;

    public User(String name, short age) {
        this.name = name;
        this.age = age;
    }
}
